package com.lbd.system.bean;

import com.lbd.base.bean.AbstractEntity;
import lombok.*;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import java.util.Date;

/**
 * Created by Yuanbo on 2016/9/22.
 * 活动
 */
@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@DynamicUpdate
@Entity
public class Activity extends AbstractEntity {
    private String title;//varchar(50) NULL活动标题
    private Date beginTime;//timestamp(6) NOT NULL
    private Date endTime;//timestamp(6) NULL
    private String url;//varchar(200) NULL活动地址
}
